﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Addition:Calculate
    {
        public virtual void DisplayResult(int   num1 , int  num2)
        {
            base.DisplayResult();
            int sum = num1 + num2;
            Console.WriteLine("两数之和为：" + sum);
        }
    }
}
